/*
**
**			Heroes IV
**	  Copyright 2001, The 3DO Company
**
**      adv_mana_vortex.h
*/

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#pragma warning( disable: 4786 )

#ifndef ADV_MANA_VORTEX_H_INCLUDED
#define ADV_MANA_VORTEX_H_INCLUDED

#include "adv_object_type.h"
#include "stationary_adventure_object.h"

int const k_mana_vortex_delay = 7;

class t_adv_mana_vortex : public t_stationary_adventure_object {

public:
        
	t_adv_mana_vortex(  std::string const& source );
	virtual void    activate_trigger( t_army* army, t_adv_map_point const& point, 
		                                   t_direction direction, t_adventure_frame* frame );
protected:
	int	                m_mana_vortex_delay;

	virtual int         get_version() const;
	virtual void		process_new_day();
	virtual bool        read( std::streambuf&						stream, 
					          t_qualified_adv_object_type const&	type,
					          int									version );
	virtual bool        write( std::streambuf& stream ) const;
};

#endif // ADV_MANA_VORTEX_H_INCLUDED
